// main.ts 或其他文件
import electronStore from "../store";
import { ipcMain, BrowserWindow } from "electron";

export function getLoginData(win: BrowserWindow) {
  console.log(win);
  ipcMain.on("login_success_save_data", (res) => {
    electronStore.set("data", res);
  });
}
